
package org.xteam.pascal.parser.ast;

import org.xteam.parser.runtime.Span;

public class ArraySchemaType extends Type {
	
	public org.xteam.parser.runtime.reflect.AstNodeType getNodeType() {
		return PascalAstPackage.INSTANCE.getArraySchemaTypeType();
	}
	
	protected org.xteam.parser.runtime.AstList<Range> ranges;
	protected Type type;
	
	public ArraySchemaType(Span span, org.xteam.parser.runtime.AstList<Range> ranges,Type type) {
		super(span);
		this.ranges = ranges;
		this.type = type;
	}
	
	
	public org.xteam.parser.runtime.AstList<Range> getRanges() {
		return ranges;
	}
	
	public void setRanges(org.xteam.parser.runtime.AstList<Range> ranges) {
		this.ranges = ranges;
	}
	
	public Type getType() {
		return type;
	}
	
	public void setType(Type type) {
		this.type = type;
	}
	

	public void visit(IPascalVisitor visitor) {
		visitor.visitArraySchemaType(this);
	}
}
